<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php if(is_array($data)) foreach($data AS $n => $r) { ?> <a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>"><img src="<?php echo $r['thumb'];?>" alt="" width="520" height="220" alt="<?php echo $r['title'];?>"/></a><?php } ?>